
package com.clwl.supervise.superviseapp.entity.supervise;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 抽检监管企业推送历史
 */
@Data
@TableName(value = "JG_SAMPLING_PUSH")
public class JgSamplingPush implements Serializable {


    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;
    /**
     * 推送的企业
     */
    @TableField(value = "COMPANY_ID")
    private Long companyId;
    /**
     * 抽检机构ID
     */
    @TableField(value = "SAMPLING_ID")
    private Long samplingId;
    /**
     * 推送年份
     */
    @TableField(value = "YEAR")
    private String year;
    /**
     * 评级年份
     */
    @TableField(value = "RATING_YEAR")
    private String ratingYear;
    /**
     * 推送状态:0未推送，1：已推送)
     */
    @TableField(value = "PUSH_STATUS")
    private String pushStatus;
    /**
     * 认领状态
     */
    @TableField(value = "CLAIM_STATUS")
    private String claimStatus;
    /**
     * 抽检状态(0:未抽检、1已抽检)
     */
    @TableField(value = "CHECK_STATUS")
    private String checkStatus;
    /**
     * 覆盖状态(0:未覆盖，1已覆盖)
     */
    @TableField(value = "COVER_STATUS")
    private String coverStatus;
    /**
     * 上传状态(0:未上传、1:已上传)'
     */
    @TableField(value = "UPLOAD_STATUS")
    private String uploadStatus;
    /**
     * 生产企业和食品类别关系id
     */
    @TableField(value = "CLASSIFY_SPSC_ID")
    private Long classifySpscId;
    /**
     * 食品类别id
     */
    @TableField(value = "CLASSIFY_SPSC1_ID")
    private Long classifySpsc1Id;

    @TableField(value = "CLASSIFY_SPSC1_NAME")
    private String classifySpsc1Name;
    /**
     * 食品类别关系id
     */
    @TableField(value = "CLASSIFY_SPSC2_ID")
    private Long classifySpsc2Id;
    @TableField(value = "CLASSIFY_SPSC2_NAME")
    private String classifySpsc2Name;

    /**
     * 审核状态 (1、审核通过、2、审核未通过)
     */
    @TableField(exist = false)
    private Integer examineStatus;
    /**
     * 注销状态
     */
    @TableField(value = "CANCELLATION_STATUS")
    private String cancellationStatus;
    /**
     * 推送时间
     */
    @TableField(value = "PUSH_TIME")
    private Date pushTime;
    /**
     * 认领人ID
     */
    @TableField(value = "CLAIM_PERSONNEL_ID")
    private Long claimPersonnelId;
    /**
     * 认领人名称
     */
    @TableField(value = "CLAIM_PERSONNEL_NAME")
    private String claimPersonnelName;
    /**
     * 更新时间
     */
    @TableField(value = "UPDATE_TIME")
    private Date updateTime;
    @TableField(value = "DELETE_FLAG")
    private String deleteFlag;
    @TableField(value = "TWO_NAME", exist = false)
    private String twoName;
    @TableField(value = "THREE_NAME", exist = false)
    private String threeName;
    @TableField(value = "COMPANY_NAME", exist = false)
    private String companyName;
    @TableField(value = "ADDRESS", exist = false)
    private String address;
    @TableField(value = "LICENSE", exist = false)
    private String license;
    @TableField(value = "CONTACT", exist = false)
    private String contact;
    @TableField(value = "CONTACT_PHONE", exist = false)
    private String contactPhone;
    @TableField(value = "DEPT_NAME", exist = false)
    private String deptName;

    @TableField(value = "SAMPLING_STATUS", exist = false)
    private String samplingStatus;
    private static final long serialVersionUID = 1L;
}
